package com.yuhanginfo.modules.web.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.yuhanginfo.common.persistence.Page;
import com.yuhanginfo.common.service.WebCrudService;
import com.yuhanginfo.modules.web.entity.WebLoginInfo;
import com.yuhanginfo.modules.web.dao.WebLoginInfoDao;

/**
 * 登录日志Service
 * @author lvls
 * @version 2017-09-27
 */
@Service
@Transactional(readOnly = true)
public class WebLoginInfoService extends WebCrudService<WebLoginInfoDao, WebLoginInfo> {

	public WebLoginInfo get(String id) {
		return super.get(id);
	}
	
	public List<WebLoginInfo> findList(WebLoginInfo loginInfo) {
		return super.findList(loginInfo);
	}
	
	public Page<WebLoginInfo> findPage(Page<WebLoginInfo> page, WebLoginInfo loginInfo) {
		return super.findPage(page, loginInfo);
	}
	
	@Transactional(readOnly = false)
	public void save(WebLoginInfo loginInfo) {
		super.save(loginInfo);
	}
	
	@Transactional(readOnly = false)
	public void delete(WebLoginInfo loginInfo) {
		super.delete(loginInfo);
	}
	
}